from django.urls import re_path, path
from . import views

urlpatterns = [
    path('api/v1.0/areas', views.AreaListView.as_view()),
    path('api/v1.0/houses', views.IssueHousesView.as_view()),
    # path('api/v1.0/houses', views.SearchView.as_view()),
    path('api/v1.0/houses/<int:house_id>/images', views.UploadPictureView.as_view()),
    path('api/v1.0/user/houses', views.HouseListView.as_view()),
    path('api/v1.0/houses/index', views.HouseIndexDisplayView.as_view()),
    path('api/v1.0/houses/<int:house_id>', views.HouseDetailView.as_view()),
    # path('api/v1.0/houses/', views.HouseDetailView.as_view()),
]